<div class="col_box">
    <div class="col_two clear">
        <!--支出-->
        <div class="m_hide" id="m_expense" style="display:block;">
            <form class="validform" method="post" action="/bill/settle/<?= $show['id'] ?>/">
                <dl><dt>记录：</dt><dd><?= $show['memo'] ?> @ <?= date("Y-m-d", $show['occurtime']) ?></dd></dl>
                <dl><dt>未结清：</dt><dd style="color:#EC4F4F"><?= $show['outstanding'] ?></dd></dl>
                <dl><dt>时间：</dt>
                    <dd>
                        <input type="text" name="row[occurtime]" id="occurtime_expense" class="input datepicker" value="<?= date("Y-m-d") ?>" title="点击选择日期" size="10" style="width:100px;" datatype="date" readonly="true" errormsg="日期输入错误！" autocomplete="off" />
                    </dd>
                </dl>
                <dl><dt>账户：</dt>
                    <dd>
                        <select name="row[account_id]" id="account_id_expense" class="select" datatype="*" nullmsg="请选择账户">
                            <?= get_account_option(null); ?>
                        </select>
                        &nbsp;<a href="/account/add/" title="新增账户" class="dialog account_add" callback="account_callback"><img src="<?= $config['res_url'] ?>/images/modify.gif" alt="" /></a>
                    </dd></dl>
                <dl><dt>金额：</dt><dd><input type="text" name="row[amount]" value="<?= $show['outstanding'] ?>" id="money_expense" class="input calculator" size="10" maxlength="8" datatype="dec1" nullmsg="金额不能为空" errormsg="金额格式错误" tipmsg="金额需小于等于未结清的金额" /></dd></dl>
                <dl><dt>说明：</dt><dd><textarea name="row[memo]" cols="55" rows="4" class="textarea"></textarea></dd></dl>
                <dl><dt>&nbsp;</dt>
                    <dd>
                        <a href="javascript:void(0);" class="moreup" obj="moreconf"><span class="arrow"><em class="up">◆</em></span> 高级选项</a>
                        <div class="moreconf" style="clear:both;">
                            <input type="checkbox" name="row[notinfamily]" value="1" <?= checkchecked(0, $show['family']) ?> id="c_notinfamily_expense" class="checkbox" /> <label for="c_notinfamily_expense">不在家庭中显示</label>
                        </div>
                    </dd>
                </dl>
                <dl><dt>&nbsp;</dt>
                    <dd>
                        <a href="javascript:;" class="btn btn_s submit"><span><b class="icon icon-ok"></b><em>提交</em></span></a>
                        <a href="javascript:;" class="btn btn_w_s cancel"><span><b class="icon icon-remove"></b><em>取消</em></span></a>
                        <span class="poststate"><em>&nbsp;</em><b></b></span>
                    </dd></dl>
            </form>
        </div>
    </div>
</div>
<script type="text/javascript">
    KS.common.load('bill.settle');
</script>